﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ArithLibrary;
namespace ConsApp1
{
    class Program
    {
        static void Main(string[] args)
        {
            Car  cx =new Car();
            cx.Model = 100;
            cx.Price = 1000;
            Console.WriteLine("Price is "+cx.Price);

            Student st=new Student();

            st.Roll = 100;
            st.Name = "Rudra";
            save(st);
            
            int a, b;
            Console.Write("Enter two nos.");
            a = Int32.Parse(Console.ReadLine());
            b = Int32.Parse(Console.ReadLine());
            OurArith ar = new OurArith();
            int c = ar.Add(a, b);
            Console.WriteLine("Sum =" + c);
            Class1 c1=new Class1();
            c1.show1();
            Console.ReadKey();

        }

        private static void save(Student st)
        {
            Console.WriteLine("Roll= {0} Name ={1}", st.Roll, st.Name);
            Console.Read();
        }
    }
}
